/*
 * Copyright (c) 2002-2003 by OpenSymphony
 * All rights reserved.
 */
package com.opensymphony.user.provider.hibernate3.ahxu.dao;

import com.opensymphony.user.provider.hibernate3.ahxu.entity.HibernateUser;

import java.util.List;


/**
 * Created by IntelliJ IDEA.
 * User: Mike
 * Date: Jul 26, 2003
 * Time: 3:23:53 PM
 * To change this template use Options | File Templates.
 */
public interface HibernateUserDAO {
    //~ Methods ////////////////////////////////////////////////////////////////

    int deleteUserByUsername(String username);

    HibernateUser findUserByUsername(String username);

    HibernateUser findUserByUsernameAndGroupname(String userName, String groupName);

    List findUsers();

    boolean saveUser(HibernateUser user);

    boolean updateUser(HibernateUser user);
}
